<template>
  <div class="box"></div>
  <button @click="add">添加</button>
</template>
<script setup>
import gsap from '../../libs/gsap-3.11.1.min.js'
import { onMounted, ref } from 'vue'
const add = () => {
  console.log(`helloworld`)
  gsap.to('.box', 1, {
    x: 100,
    y: 100
  })

  //A 100
  //A 50
  //
}

onMounted(() => {})
</script>
<style type="text/css">
.box {
  width: 100px;
  height: 100px;
  border: 1px solid #000;
  background: #fff;
}
</style>
